package top.hzy520.payment.alipay.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import top.hzy520.payment.alipay.dto.Order;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 19:35 2018/9/15
 */
@FeignClient(name = "order-service",fallback = OrderServiceFallBack.class)
public interface OrderService {
    @RequestMapping("/order/query")
    String queryOrderSubject(@RequestBody Order order);

    @RequestMapping("/order/verifyorderstatus")
     void verifyOrderStatus(Order order);
}
